package com.xpxrule.service;

import com.xpxrule.dataobject.biz.model.ReturnResponse;
import com.xpxrule.dataobject.dao.ModelItem;
import com.xpxrule.dataobject.dao.RuleScenarios;
import com.xpxrule.dataobject.req.RuleScenariosQueryReq;
import com.xpxrule.dataobject.vo.OptionVo;
import com.xpxrule.dataobject.vo.RuleScenariosVo;

import java.util.List;

/**
 * @version 1.0
 * @Author xiangpengxiang
 * @Date 2024/11/20 19:28
 * @注释
 */
public interface RuleScenariosService {
    ReturnResponse<Integer> insert(RuleScenariosVo vo);

    ReturnResponse<Integer> delete(Long id);

    ReturnResponse<Integer> update(RuleScenariosVo vo);

    ReturnResponse<List<RuleScenariosVo>> selectList(RuleScenariosQueryReq req);

    List<ModelItem> getConditionModelByScenariosKey(String ruleScenariosKey);

    ReturnResponse<List<OptionVo>> getAllRuleScenariosOptions();

    ReturnResponse<RuleScenariosVo> selectRuleScenariosByScenariosKey(String scenariosKey);

    RuleScenarios getRuleScenariosByScenariosKey(String scenariosKey);
}
